package br.com.gaacorp.sai.webapp.action;

import java.io.Serializable;
import java.util.List;

import br.com.gaacorp.sai.service.UniversityManager;

public class UniversityList extends BasePage implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -3264497018906878738L;
	private UniversityManager universityManager;

	public UniversityList() {
		setSortColumn("universityId"); // sets the default sort column
	}

	public List getUniversities() {
		return sort(universityManager.getAll());
	}

	public void setUniversityManager(UniversityManager universityManager) {
		this.universityManager = universityManager;
	}
}
